<!--
 * @Author: Dagon
 * @Date: 2021-03-25 11:53:52
 * @Description: 实现一个三栏布局左边宽100px右边宽160px，中间部分要自适应并且要优先加载
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>三栏布局--gird</title>
</head>
<style>
  .gird {
    width: 100%;
    display: grid;
    grid-template-rows: 120px;
    grid-template-columns: 100px auto 160px;
  }

  .middle3 {
    background-color: blanchedalmond;
    order: 2;
  }

  .left3 {
    background-color: aquamarine;
    order: 1;
  }

  .right3 {
    order: 3;
    background-color: brown;
  }
</style>

<body>
  <div class="gird">
    <div class="middle3"></div>
    <div class="left3"></div>
    <div class="right3"></div>
  </div>
</body>

</html>